WeDevs\ERP\HRM\API\Departments_Controller S

Total Complexity 25
Dependencies 4
Dependents 1
Total lines 342
Lines of code 208
Logical lines of code 87
Comment lines 81
Methods 10
Properties 2

Methods 10

Method Rating Maintainability Complexity Lines of code
prepare_item_for_database()
S
57 6 19
prepare_item_for_response()
S
52 4 23
register_routes()
S
46 1 48
get_departments()
S
56 3 18
update_department()
S
55 3 18
get_item_schema()
S
47 1 43
get_department()
S
62 3 10
get_parent_department()
S
61 2 12
create_department()
S
61 1 11
delete_department()
S
69 1 6